package de.tto.dating.entities;



public class User extends AbstractEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8771502394201836641L;
	
	public static final String NAME = "name";
	public static final String EMAIL = "email";
	public static final String PASSWORD = "password";
	
	public static final String CONFIRMED = "confirmed";
	public static final String CONFIRM_KEY = "confirmKey";

	private String name;
	private String email;
	private String password;
	
	private boolean confirmed;
	private String confirmKey;

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param email
	 *            the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param confirmed the confirmed to set
	 */
	public void setConfirmed(boolean confirmed) {
		this.confirmed = confirmed;
	}

	/**
	 * @return the confirmed
	 */
	public boolean isConfirmed() {
		return confirmed;
	}

	/**
	 * @param confirmKey the confirmKey to set
	 */
	public void setConfirmKey(String confirmKey) {
		this.confirmKey = confirmKey;
	}

	/**
	 * @return the confirmKey
	 */
	public String getConfirmKey() {
		return confirmKey;
	}
}
